//
//  ElectricityModel.m
//  EasyToo
//
//  Created by linshengqin on 13-9-10.
//
//

#import "ElectricityModel.h"
static ElectricityModel *electricity_model = nil;
@implementation ElectricityModel

+(ElectricityModel*)sharedata
{
    if(electricity_model == nil)
    {
        electricity_model = [[ElectricityModel alloc]init];
    }
    
    return electricity_model ;
}

- (id)init
{
    self = [super init];
    if (self) {
        _account = [[NSMutableString alloc] init];
        _month    = [[NSMutableString alloc] init];
        _phoneNum   = [[NSMutableString alloc] init];
        _electricFeeInfoArray = [[NSMutableArray alloc]init];
        _payType = 1;
        
    }
    return self;
}
- (void)dealloc
{
    NSLog(@"&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&");
    [_account release],_account = nil;
    [_month release],_month = nil;
    [_phoneNum release],_phoneNum = nil;
    [electricity_model release];
    //[_electricFeeInfoArray release],_electricFeeInfoArray =nil;
    [super dealloc];
}

@end
